<div class="container">
    <div class="col-sm-12 ">
        <h3 class='index_tilte'><p class="text-center">项目一览表</p></h3>
        <table class="table table-bordered ">
            <tr class="th">
                <td widtd="10%">序号</td>
                <td widtd="20">项目名称</td>
                <td widtd="44%">成员</td>
                <td widtd="13%">开始时间</td>
                <td widtd="13%">结束时间</td>
            </tr>
            <?php foreach (select_record_activity() as $key => $value): ?>
                <tr>
                    <td><?php echo $key + 1; ?></td>
                    <td><?php echo htmlspecialchars($value['activity']); ?></td>
                    <td>
                        <?php
                        $members = get_member($value['id']);
                        foreach ($members as $member) {
                            echo htmlspecialchars($member['member'] . ' ');
                        }
                        ?>
                    </td>
                    <td><?php echo htmlspecialchars($value['time_from']); ?></td>
                    <td><?php echo htmlspecialchars($value['time_to']); ?></td>
                </tr>
            <?php endforeach; ?>
        </table>
    </div>
</div>